﻿using Studio77.AbbLinkLink.Pages;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// “用户控件”项模板在 http://go.microsoft.com/fwlink/?LinkId=234236 上提供

namespace Studio77.AbbLinkLink.Views
{
    public sealed partial class PauseBlockView : UserControl
    {
        public PauseBlockView()
        {
            this.InitializeComponent();
        }

        private void btnRestart_Click(object sender, RoutedEventArgs e)
        {
            GamePage.Instance.StartNewGame();
        }

        private void btnContinue_Click(object sender, RoutedEventArgs e)
        {
            GamePage.Instance.ResumeGame();
        }

        private void btnMain_Click(object sender, RoutedEventArgs e)
        {
            GamePage.Instance.Frame.Navigate(typeof(MainPage));
        }
    }
}
